<%--
  Created by IntelliJ IDEA.
  User: 86158
  Date: 2022/10/28
  Time: 10:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/layui/css/layui.css">
    <script src="${pageContext.request.contextPath}/layui/layui.js"></script>
</head>
<body>
<%--基本信息页面--%>
<div class="layui-bg-gray" style="padding: 30px;" id="userMsgBox">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-panel">
                <form class="layui-form" action="">
                    <div class="layui-form-item">
                        <label class="layui-form-label">头像：</label>
                        <img src="${pageContext.request.contextPath}/images/avatars/${loginUser.avatar == null ? "default.png" : loginUser.avatar}"
                             width="100px" height="100px" style="border-radius: 50%;padding: 9px 15px">
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">登录账号：</label>
                        <div class="layui-input-inline">
                            <p style="padding: 9px 15px">${loginUser.loginName}</p>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">用户名：</label>
                        <div class="layui-input-inline">
                            <p style="padding: 9px 15px">${loginUser.userName}</p>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">用户等级：</label>
                        <div class="layui-input-inline">
                            <p style="padding: 9px 15px">${loginUser.status==2?'超级管理员':'普通用户'}</p>
                        </div>
                    </div>
                </form>
<%--                <div style="width: 100%; height: 86%;text-align: center">--%>
<%--                    <h1>登录账号：<span>${loginUser.loginName}</span></h1>--%>
<%--                    <br>--%>
<%--                    <h1>用户名：<span>${loginUser.userName}</span></h1>--%>
<%--                    <br>--%>
<%--                    <h1>用户等级：<span>${loginUser.status==2?'超级管理员':'普通用户'}</span></h1>--%>
<%--                </div>--%>
            </div>
        </div>
    </div>
</div>
</body>
</html>
